package com.flx.at.spring.code.apps.listener;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.ApplicationEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

/**
 * @Author: Fenglixiong
 * @Date: 2021/9/6 20:43
 * @Description:
 */
@Slf4j
@Component
public class WorkListener implements ApplicationListener {

    @Override
    public void onApplicationEvent(ApplicationEvent event) {
        log.info("============>WorkListener invoked...");
    }

}
